package com.desmart.renjiao.main.home;

import com.lemon.library.mvp.BaseModel;
import com.lemon.library.mvp.BasePresenter;
import com.lemon.library.mvp.BaseView;

import io.reactivex.Observable;
import okhttp3.RequestBody;
import okhttp3.ResponseBody;

public interface Home {

    interface HomeM extends BaseModel{

        Observable<ResponseBody> getEmail(RequestBody string);
    }

    interface HomeV extends BaseView{

        void onGetEmailUnRead(String result);
    }

    abstract class HomeP extends BasePresenter<HomeM,HomeV>{

        abstract void getEmail(String username);

    }

}
